package com.googlecode.curvedmetromaps.core.model;

import java.util.Collection;

public class MetroLine {
	public MetroStation[]	stations;

	/**
	 * Unique line ID in the context of a metro map. The id is in the range
	 * 0..l-1, where l is the number of lines.
	 */
	public int				id;

	public MetroLine() {
	}

	public MetroLine(Collection<MetroStation> stations) {
		this.stations = new MetroStation[stations.size()];
		this.stations = stations.toArray(this.stations);
	}
}
